package com.mvc.service.mb.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mvc.dao.BaseDaoI;
import com.mvc.model.mb.archive.User;
import com.mvc.service.mb.UserService;
@Service
public class UserServiceImpl implements UserService {
	
	@Autowired
	private BaseDaoI<User> uBaseDaoI;

	@Override
	public User getUser(String loginName) {
		return uBaseDaoI.get("from User where loginname = '"+loginName+"'");
	}

}
